using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Weight.Base;

namespace LED
{
    public interface ILED
    {
        /// <summary>
        /// 初始化屏参
        /// </summary>
        /// <param name="parameter"></param>
        /// <returns></returns>
        ResultEntity Open(InitParam parameter);

        /// <summary>
        /// 显示文字信息
        /// </summary>
        /// <returns></returns>
        ResultEntity Show(string Content);

        /// <summary>
        /// 显示图片
        /// </summary>
        /// <param name="imgPath"></param>
        /// <returns></returns>
        ResultEntity ShowImg(string imgPath);

        /// <summary>
        /// 反初始化(仅支持串口模式)
        /// </summary>
        /// <returns></returns>
        ResultEntity Close();

    }
}


